package NovelBar.mapper;

import NovelBar.entity.Reward;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface RewardMapper {
    void insertReward(Reward reward);
    List<Reward> loadRewardByWiterId(Integer witerid);
    List<Reward> loadRewardByUserid(Integer userid);
}
